<?php
$this->breadcrumbs = array(
	'项目列表',
);

$this->userActions = array(
	array(
		'label' => '新建项目',
		'url' => array(
			'create'
		),
		'iconClass' => 'icon-building-add',
		'visible' => Yii::app()->user->checkAccess('projectManage'),
	),
	array(
		'label' => '管理项目',
		'url' => array(
			'admin'
		),
		'iconClass' => 'icon-building-link',
		'visible' => Yii::app()->user->checkAccess('projectManage'),
	),
);
?>

<h1>Projects</h1>
<?php $this
	->widget('zii.widgets.CListView',
		array(
			'dataProvider' => $dataProvider,
			'itemView' => '_view',
		));
?>
